.class public final enum Lcom/baidu/sapi2/utils/enums/FastLoginFeature;
.super Ljava/lang/Enum;
.source "FastLoginFeature.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Enum<",
        "Lcom/baidu/sapi2/utils/enums/FastLoginFeature;",
        ">;"
    }
.end annotation


# static fields
.field public static final enum DEVICE_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum NM_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum QR_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum RENREN_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum SINA_WEIBO_SSO:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum SINA_WEIBO_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum TX_QQ_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum TX_WEIBO_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum TX_WEIXIN_SSO:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field public static final enum VOICE_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

.field private static final synthetic b:[Lcom/baidu/sapi2/utils/enums/FastLoginFeature;


# instance fields
.field private a:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 13

    .line 1
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v1, 0x0

    const-string v2, "TX_WEIXIN_SSO"

    const-string v3, "tweixin_sso"

    invoke-direct {v0, v2, v1, v3}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->TX_WEIXIN_SSO:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 2
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v2, 0x1

    const-string v3, "SINA_WEIBO_SSO"

    const-string v4, "tsina_sso"

    invoke-direct {v0, v3, v2, v4}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->SINA_WEIBO_SSO:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 3
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v3, 0x2

    const-string v4, "SINA_WEIBO_WEBVIEW"

    const-string v5, "tsina"

    invoke-direct {v0, v4, v3, v5}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->SINA_WEIBO_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 4
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v4, 0x3

    const-string v5, "TX_WEIBO_WEBVIEW"

    const-string v6, "tqq"

    invoke-direct {v0, v5, v4, v6}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->TX_WEIBO_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 5
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v5, 0x4

    const-string v6, "TX_QQ_WEBVIEW"

    const-string v7, "qzone"

    invoke-direct {v0, v6, v5, v7}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->TX_QQ_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 6
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v6, 0x5

    const-string v7, "RENREN_WEBVIEW"

    const-string v8, "renren"

    invoke-direct {v0, v7, v6, v8}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->RENREN_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 7
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v7, 0x6

    const-string v8, "DEVICE_LOGIN"

    const-string v9, "device_login"

    invoke-direct {v0, v8, v7, v9}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->DEVICE_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 8
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/4 v8, 0x7

    const-string v9, "QR_LOGIN"

    const-string v10, "qr_app_login"

    invoke-direct {v0, v9, v8, v10}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->QR_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 9
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/16 v9, 0x8

    const-string v10, "NM_LOGIN"

    const-string v11, "nuomi_login"

    invoke-direct {v0, v10, v9, v11}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->NM_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 10
    new-instance v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/16 v10, 0x9

    const-string v11, "VOICE_LOGIN"

    const-string v12, "voice_login"

    invoke-direct {v0, v11, v10, v12}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    sput-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->VOICE_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    const/16 v11, 0xa

    new-array v11, v11, [Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    .line 11
    sget-object v12, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->TX_WEIXIN_SSO:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v12, v11, v1

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->SINA_WEIBO_SSO:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v2

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->SINA_WEIBO_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v3

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->TX_WEIBO_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v4

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->TX_QQ_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v5

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->RENREN_WEBVIEW:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v6

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->DEVICE_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v7

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->QR_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v8

    sget-object v1, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->NM_LOGIN:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    aput-object v1, v11, v9

    aput-object v0, v11, v10

    sput-object v11, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->b:[Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .line 1
    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V

    .line 2
    iput-object p3, p0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->a:Ljava/lang/String;

    return-void
.end method

.method public static getDefault()Lcom/baidu/sapi2/utils/enums/FastLoginFeature;
    .locals 1

    .line 1
    sget-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->SINA_WEIBO_SSO:Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    return-object v0
.end method

.method public static mapStrToValue(Ljava/lang/String;)Lcom/baidu/sapi2/utils/enums/FastLoginFeature;
    .locals 5

    .line 1
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-static {}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->getDefault()Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    move-result-object p0

    return-object p0

    .line 3
    :cond_0
    invoke-static {}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->values()[Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    move-result-object v0

    array-length v1, v0

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v1, :cond_2

    aget-object v3, v0, v2

    .line 4
    invoke-virtual {v3}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->getStrValue()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    return-object v3

    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 5
    :cond_2
    invoke-static {}, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->getDefault()Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    move-result-object p0

    return-object p0
.end method

.method public static valueOf(Ljava/lang/String;)Lcom/baidu/sapi2/utils/enums/FastLoginFeature;
    .locals 1

    .line 1
    const-class v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;

    move-result-object p0

    check-cast p0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    return-object p0
.end method

.method public static values()[Lcom/baidu/sapi2/utils/enums/FastLoginFeature;
    .locals 1

    .line 1
    sget-object v0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->b:[Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    invoke-virtual {v0}, [Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lcom/baidu/sapi2/utils/enums/FastLoginFeature;

    return-object v0
.end method


# virtual methods
.method public getStrValue()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/baidu/sapi2/utils/enums/FastLoginFeature;->a:Ljava/lang/String;

    return-object v0
.end method
